let express = require('express');
let WeChatPayAction = require('../action/weChatPayAction');
let router = express.Router();

router.post('/rechargeNotify', function (req, res, next) {
    WeChatPayAction.rechargeNotify(req.body).then(function (result) {
        res.send(result);
    },function (err) {
        res.send(err);
    });
});

exports.weChatPayRouter = router;